﻿using JamesZhao.Engine.GameObjects;

namespace JamesZhao.Engine
{
    public class SceneManager : Manager
    {
        public SceneManager(GameEngine gameEngine) : base(gameEngine)
        {
            Root = new RootGameObject(gameEngine);
        }

        public GameObject Root { get; private set; }

        public override void Initialize()
        {
        }

        public override void Update()
        {
            Root.Update();
        }
    }
}